package com.akkainaction.helloactor.message.actor.ask;

import akka.actor.UntypedActor;

public class AskDemoActor extends UntypedActor {

    @Override
    public void onReceive(Object msg) throws Exception {
        System.out.println("askDemoActor接收到消息:" + msg);
        getSender().tell("我是返回值", getSelf());
    }
}
